package com.yiwei.ydd.constant;

import cn.beecloud.BeeCloud;

/**
 * Created by xsooy-pc on 2017/8/24.
 */

public class Const {
    //    public static final String SERVER_API_URL = "http://api.jyb.com";
//    public static final String SERVER_API_URL = "http://app.api.youduoduo.vip/";
    public static final String SERVER_API_URL = "http://test.app.api.youduoduo.vip/";


    //    public static final String SERVER_API_URL = "http://test.app.api.jyb.dianhuohuo.vip/";
    //    public static final String SERVER_API_URL = "http://app.api.yunfenbao.cn/"
    public static final String APP_NAME = "yfb.apk";
//    public static final String SERVER_API_URL = "http://adminapp.dob500.com/api/";

    //            public static final String SERVER_API_URL = "http://app.api.dob500.com";
    public static final boolean IS_DEBUG = true;

    public static final String SP_NAME = "sp";
    public static final String GESTURE_PASSWORD = "GesturePassword";
    public static class LoginType {
        public static final String LOGIN_BY_PHONE = "1";
        public static final String LOGIN_BY_PASS = "2";
    }

    public static final class MobSdk {
        public static final String KEY = "276ded496e998";
        public static final String SECRET = "31382d89de9e6b7f52d176d846611650";
    }

    public static final String KEFU_ID = "KEFU152213379167901";


    public static final class BeeCloud {

        //            BeeCloud.setAppIdAndSecret("956fb30c-0579-4469-aa31-64140d64e61c",
//                    "e32e1f0d-d219-4c76-8585-13f953327123");
//        } else {
//        cn.beecloud.BeeCloud.setSandbox(false);
//        //     正式网Appid和secret
//        cn.beecloud.BeeCloud.setAppIdAndSecret("956fb30c-0579-4469-aa31-64140d64e61c",
//                "17b96e5a-2c3d-4265-9308-ec4b50407f6e");
//        public static final String APP_ID = "956fb30c-0579-4469-aa31-64140d64e61c";
//        public static final String APP_Secret = "17b96e5a-2c3d-4265-9308-ec4b50407f6e";
        public static final String APP_ID = "f4b08f6e-9c77-43d9-b829-e2bb796e3d77";
        public static final String APP_Secret = "97e172f9-e8f2-44b6-a711-bcbd056e5f49";
        public static final String WECHAT_ID = "wx8f9ffda903463ae8";

    }

    public static final class MsgType {
        public static final String SYSTEM = "SYSTEM";
        public static final String ORDERS = "ORDERS";
        public static final String MONEY = "MONEY";
        public static final String COMM = "COMM";
    }

    //oilbag：加油包到账说明

    //commission：佣金到账说明

    //level_combo：会员套餐价格说明
    public static final class PageDetailType {
        public static final String OILBAG = "oilbag";
        public static final String COMMISSION = "commission";
        public static final String LEVELCOMBO = "level_combo";
        public static final String SINOPEC_SERVICE = "sinopec_service";
        public static final String APP_SERVICE = "app_service";

    }

    public static String getPayOptional() {
        if (IS_DEBUG) {
            return "test_ydd";
        } else {
            return "ydd";
        }
    }
}
//        KEFU152145089637049